Use a docker volume for the dev env db

This commit is contained in:
Shane McDonald
2020-04-06 13:06:18 -04:00
parent 508aed67de
commit 7e52f4682c
2 changed files with 9 additions and 3 deletions

View File

@@ -50,6 +50,8 @@ services:
- "5432:5432"
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- "awx_db:/var/lib/postgresql/data"
memcached:
user: ${CURRENT_UID}
image: memcached:alpine
@@ -67,3 +69,6 @@ services:
- "./redis/redis.conf:/usr/local/etc/redis/redis.conf"
- "./redis/redis_socket_standalone:/var/run/redis/"
command: ["/usr/local/etc/redis/redis.conf"]
volumes:
awx_db: