Files
notifications-admin/docker-compose.devcontainer.yml

26 lines
507 B
YAML
Raw Normal View History

2022-06-13 14:26:46 -07:00
version: '3'
services:
admin:
container_name: admin
image: notification-admin
env_file: .env
build:
context: .
dockerfile: devcontainer-admin/Dockerfile
command: sleep infinity
volumes:
- .:/workspace:cached
ports:
- "6012:6012"
expose:
- "6012"
adminredis:
command: sh -c "rm -f /data/dump.rdb && redis-server --port 6379" # disable persistence
2022-06-13 14:26:46 -07:00
image: redis:latest
networks:
default:
name: notify-network
external: true