add docker-compose
This commit is contained in:
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
services:
|
||||||
|
launchpad:
|
||||||
|
build: .
|
||||||
|
container_name: launchpad
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
# Flask secrets
|
||||||
|
- SECRET_KEY=ABZ3EavEwWcJpkpeE1e4CfoFZR4Bgx7E
|
||||||
|
- ADMIN_USER=admin
|
||||||
|
- ADMIN_PASS=Inteligent1_eu
|
||||||
|
- PUBLIC_BASE_URL=https://launchpad.northdanubesoft.eu
|
||||||
|
|
||||||
|
# Reverse proxy integration
|
||||||
|
- VIRTUAL_HOST=launchpad.northdanubesoft.eu
|
||||||
|
- LETSENCRYPT_HOST=launchpad.northdanubesoft.eu
|
||||||
|
- VIRTUAL_PORT=5000
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
# persist uploaded images between container rebuilds
|
||||||
|
- ./uploads:/app/static/uploads
|
||||||
|
|
||||||
|
networks:
|
||||||
|
- reverse-proxy # 👈 use the same network as your nginx-proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
reverse-proxy:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user