pretalx: set custom docker network in compose file
All checks were successful
/ Ansible Lint (push) Successful in 1m38s
All checks were successful
/ Ansible Lint (push) Successful in 1m38s
This commit is contained in:
parent
1d621e12fb
commit
93212e2248
1 changed files with 18 additions and 0 deletions
|
@ -11,12 +11,16 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- database:/var/lib/postgresql/data
|
- database:/var/lib/postgresql/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- pretalx_net
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- redis:/data
|
- redis:/data
|
||||||
|
networks:
|
||||||
|
- pretalx_net
|
||||||
|
|
||||||
static:
|
static:
|
||||||
image: docker.io/library/nginx
|
image: docker.io/library/nginx
|
||||||
|
@ -25,6 +29,8 @@ services:
|
||||||
- public:/usr/share/nginx/html
|
- public:/usr/share/nginx/html
|
||||||
ports:
|
ports:
|
||||||
- 8081:80
|
- 8081:80
|
||||||
|
networks:
|
||||||
|
- pretalx_net
|
||||||
|
|
||||||
pretalx:
|
pretalx:
|
||||||
image: pretalx/standalone:latest
|
image: pretalx/standalone:latest
|
||||||
|
@ -67,6 +73,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- pretalx:/data
|
- pretalx:/data
|
||||||
- public:/public
|
- public:/public
|
||||||
|
networks:
|
||||||
|
- pretalx_net
|
||||||
|
|
||||||
celery:
|
celery:
|
||||||
image: pretalx/standalone:latest
|
image: pretalx/standalone:latest
|
||||||
|
@ -99,9 +107,19 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- pretalx:/data
|
- pretalx:/data
|
||||||
- public:/public
|
- public:/public
|
||||||
|
networks:
|
||||||
|
- pretalx_net
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
database: {}
|
database: {}
|
||||||
redis: {}
|
redis: {}
|
||||||
pretalx: {}
|
pretalx: {}
|
||||||
public: {}
|
public: {}
|
||||||
|
|
||||||
|
networks:
|
||||||
|
pretalx_net:
|
||||||
|
ipam:
|
||||||
|
driver: default
|
||||||
|
config:
|
||||||
|
- subnet: 172.18.0.0/16
|
||||||
|
gateway: 172.18.0.1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue