-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
44abbf5
commit 360e5bf
Showing
14 changed files
with
225 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
|
||
/private | ||
/private.pub | ||
/tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
services: | ||
app: | ||
image: ${APP_IMAGE} | ||
networks: | ||
- app | ||
- mongodb | ||
- nats | ||
- docker | ||
deploy: | ||
mode: replicated | ||
replicas: 1 | ||
endpoint_mode: vip | ||
restart_policy: | ||
condition: on-failure | ||
delay: 5s | ||
max_attempts: 3 | ||
environment: | ||
PRIVATE_KEY: ${BACKEND_PRIVATE_KEY} | ||
S3_ENDPOINT: ${BACKEND_S3_ENDPOINT} | ||
S3_ACCESS_KEY: ${BACKEND_S3_ACCESS_KEY} | ||
S3_SECRET_KEY: ${BACKEND_S3_SECRET_KEY} | ||
S3_BUCKET_NAME: ${BACKEND_S3_BUCKET_NAME} | ||
S3_USE_SSL: ${BACKEND_S3_USE_SSL} | ||
MONGO_SCHEME: ${BACKEND_MONGO_SCHEME} | ||
MONGO_USERNAME: ${BACKEND_MONGO_USERNAME} | ||
MONGO_PASSWORD: ${BACKEND_MONGO_PASSWORD} | ||
MONGO_HOST: ${BACKEND_MONGO_HOST} | ||
MONGO_PORT: ${BACKEND_MONGO_PORT} | ||
MONGO_DATABASE_NAME: ${BACKEND_MONGO_DATABASE_NAME} | ||
MAIL_SMTP_FROM: ${BACKEND_MAIL_SMTP_FROM} | ||
MAIL_SMTP_USERNAME: ${BACKEND_MAIL_SMTP_USERNAME} | ||
MAIL_SMTP_PASSWORD: ${BACKEND_MAIL_SMTP_PASSWORD} | ||
MAIL_SMTP_HOST: ${BACKEND_MAIL_SMTP_HOST} | ||
MAIL_SMTP_PORT: ${BACKEND_MAIL_SMTP_PORT} | ||
NATS_URL: ${BACKEND_NATS_URL} | ||
|
||
networks: | ||
app: | ||
name: app | ||
driver: overlay | ||
mongodb: | ||
name: mongodb | ||
external: true | ||
nats: | ||
name: nats | ||
external: true | ||
docker: | ||
name: docker | ||
external: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,21 @@ | ||
services: | ||
docker: | ||
image: docker:27-dind | ||
restart: unless-stopped | ||
networks: | ||
- docker | ||
deploy: | ||
mode: replicated | ||
replicas: 1 | ||
endpoint_mode: vip | ||
restart_policy: | ||
condition: on-failure | ||
delay: 5s | ||
max_attempts: 3 | ||
runtime: sysbox-runc | ||
# privileged: true # uncomment this to test locally and comment runtime. | ||
environment: | ||
DOCKER_TLS_CERTDIR: "" # disable certs | ||
|
||
portainer: | ||
image: portainer/portainer-ce | ||
restart: unless-stopped | ||
networks: | ||
- docker | ||
depends_on: | ||
- docker | ||
command: > | ||
--admin-password="${PORTAINER_ADMIN_PASSWORD}" | ||
networks: | ||
docker: | ||
name: docker | ||
driver: overlay |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
services: | ||
docker_dashboard: | ||
image: portainer/portainer-ce | ||
networks: | ||
- docker | ||
- docker_dashboard | ||
deploy: | ||
mode: replicated | ||
replicas: 1 | ||
endpoint_mode: vip | ||
restart_policy: | ||
condition: on-failure | ||
delay: 5s | ||
max_attempts: 3 | ||
command: > | ||
--admin-password="${PORTAINER_ADMIN_PASSWORD}" | ||
networks: | ||
docker_dashboard: | ||
name: docker_dashboard | ||
driver: overlay | ||
docker: | ||
name: docker | ||
external: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.