Server transfer
This commit is contained in:
4
production/app.env
Normal file
4
production/app.env
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
VIRTUAL_HOST=avsa.lucasroyer.fr
|
||||||
|
VIRTUAL_PORT=8080
|
||||||
|
LETSENCRYPT_HOST=avsa.lucasroyer.fr
|
||||||
|
LETSENCRYPT_EMAIL=litvak@outlook.fr
|
||||||
@@ -1,23 +1,24 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
context: .
|
build:
|
||||||
dockerfile: Dockerfile
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
container_name: avsa_form_app
|
container_name: avsa_form_app
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ../app:/app
|
- ../app:/app
|
||||||
|
|
||||||
command: waitress-serve --call 'hello:create_app'
|
command: waitress-serve --call 'hello:create_app'
|
||||||
|
|
||||||
env_file:
|
env_file:
|
||||||
- app.env
|
- app.env
|
||||||
- db.env
|
- db.env
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- reverse-proxy
|
- reverse-proxy
|
||||||
- avsa_form
|
- avsa_form
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:13.1
|
image: postgres:13.1
|
||||||
@@ -33,4 +34,4 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
avsa_form:
|
avsa_form:
|
||||||
reverse-proxy:
|
reverse-proxy:
|
||||||
external: true
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user