changed docker volume for db to a volume with a dedicated data path
This commit is contained in:
@@ -88,6 +88,15 @@ services:
|
||||
volumes:
|
||||
- "{{ awx_composedir }}/initdb.d:/docker-entrypoint-initdb.d:ro"
|
||||
|
||||
volumes:
|
||||
awx_db:
|
||||
name: {{ awx_prefix }}_awx_db
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: {{ pg_volume_datapath | default(awx_composedir + '/postgres/data') }}
|
||||
|
||||
networks:
|
||||
ansible-net:
|
||||
traefik-net:
|
||||
|
||||
Reference in New Issue
Block a user