Compare commits
2 Commits
421fcf0b86
...
2565743a2c
Author | SHA1 | Date | |
---|---|---|---|
2565743a2c | |||
ba5a62b3de |
96
Outils/deasee/docuseal
Normal file
96
Outils/deasee/docuseal
Normal file
@ -0,0 +1,96 @@
|
||||
#### NETWORKS
|
||||
networks:
|
||||
docker-traefik_front_network:
|
||||
external: true
|
||||
back_network:
|
||||
driver: bridge
|
||||
attachable: true
|
||||
|
||||
#### SERVICES
|
||||
services:
|
||||
docuseal:
|
||||
container_name: docuseal-app
|
||||
hostname: docuseal-app
|
||||
image: docuseal/docuseal:latest
|
||||
# ports:
|
||||
# - 3900:3000
|
||||
volumes:
|
||||
- ./docuseal:/data/docuseal
|
||||
environment:
|
||||
- FORCE_SSL=https://docuseal.fr.dgs.group
|
||||
- DATABASE_URL=postgresql://postgres:postgres@postgres:5432/docuseal
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
msmtpd:
|
||||
networks:
|
||||
- docker-traefik_front_network
|
||||
- back_network
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=interne"
|
||||
# HTTP
|
||||
- "traefik.http.routers.docuseal-http.rule=Host(`docuseal.fr.dgs.group`)"
|
||||
- "traefik.http.routers.docuseal-http.entrypoints=http"
|
||||
# HTTPS
|
||||
- "traefik.http.routers.docuseal-https.rule=Host(`docuseal.fr.dgs.group`)"
|
||||
- "traefik.http.routers.docuseal-https.entrypoints=https"
|
||||
- "traefik.http.routers.docuseal-https.service=docuseal-service"
|
||||
- "traefik.http.routers.docuseal-https.tls=true"
|
||||
# Middleware
|
||||
# Service
|
||||
- "traefik.http.services.docuseal-service.loadbalancer.server.port=3000"
|
||||
|
||||
postgres:
|
||||
container_name: docuseal-postgres
|
||||
hostname: docuseal-postgres
|
||||
environment:
|
||||
PGDATA: /var/lib/postgresql/data/docuseal
|
||||
POSTGRES_DB: docuseal
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_USER: postgres
|
||||
image: postgres:15.6-alpine
|
||||
networks:
|
||||
- back_network
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data:/var/lib/postgresql/data:rw
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
msmtpd:
|
||||
container_name: docuseal-msmtpd
|
||||
hostname: docuseal-msmtpd
|
||||
image: crazymax/msmtpd:latest
|
||||
# ports:
|
||||
# - 2500:2500
|
||||
environment:
|
||||
- "TZ=Europe/Paris"
|
||||
- "PUID=1500"
|
||||
- "PGID=1500"
|
||||
- "SMTP_HOST=smtp.gmail.com"
|
||||
- "SMTP_PORT=587"
|
||||
- "SMTP_TLS=on"
|
||||
- "SMTP_STARTTLS=on"
|
||||
- "SMTP_TLS_CHECKCERT=off"
|
||||
- "SMTP_AUTH=on"
|
||||
- "SMTP_USER=hostinfo@tips-of-mine.fr"
|
||||
- "SMTP_PASSWORD=Whf2VtLEd2QR4er"
|
||||
# - "SMTP_USER_FILE=/run/secrets/smtp_user"
|
||||
# - "SMTP_PASSWORD_FILE=/run/secrets/smtp_password"
|
||||
- "SMTP_DOMAIN=localhost"
|
||||
- "SMTP_FROM=hostinfo@tips-of-mine.fr"
|
||||
# secrets:
|
||||
# - smtp_user
|
||||
# - smtp_password
|
||||
volumes:
|
||||
restart: always
|
||||
|
||||
# secrets:
|
||||
# smtp_user:
|
||||
# external: true
|
||||
# smtp_password:
|
||||
# external: true
|
@ -33,6 +33,9 @@ runner:
|
||||
# ubuntu:22.04 here is not enough.
|
||||
labels:
|
||||
- "ubuntu-22.04:docker://node:16-bullseye"
|
||||
- "ubuntu-latest:docker://gitea/runner-images:ubuntu-latest"
|
||||
- "ubuntu-22.04:docker://gitea/runner-images:ubuntu-22.04"
|
||||
- "ubuntu-20.04:docker://gitea/runner-images:ubuntu-20.04"
|
||||
|
||||
cache:
|
||||
# Enable cache server to use actions/cache.
|
||||
|
@ -5,6 +5,7 @@ networks:
|
||||
back_network:
|
||||
driver: bridge
|
||||
attachable: true
|
||||
external: false
|
||||
|
||||
#### SERVICES
|
||||
services:
|
||||
@ -69,7 +70,7 @@ services:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3080:3000"
|
||||
- "3222:22"
|
||||
- "222:22"
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
Loading…
x
Reference in New Issue
Block a user