Server transfer

This commit is contained in:
Lucas
2024-12-10 10:53:26 +00:00
parent e06995c91b
commit 7b01f9925f
2 changed files with 16 additions and 11 deletions

4
production/app.env Normal file
View File

@@ -0,0 +1,4 @@
VIRTUAL_HOST=avsa.lucasroyer.fr
VIRTUAL_PORT=8080
LETSENCRYPT_HOST=avsa.lucasroyer.fr
LETSENCRYPT_EMAIL=litvak@outlook.fr

View File

@@ -1,23 +1,24 @@
services:
app:
context: .
dockerfile: Dockerfile
build:
context: .
dockerfile: Dockerfile
container_name: avsa_form_app
restart: always
container_name: avsa_form_app
restart: always
volumes:
volumes:
- ../app:/app
command: waitress-serve --call 'hello:create_app'
command: waitress-serve --call 'hello:create_app'
env_file:
env_file:
- app.env
- db.env
networks:
- reverse-proxy
- avsa_form
networks:
- reverse-proxy
- avsa_form
db:
image: postgres:13.1