shellphone.app/docker-compose.yml
2021-08-08 10:58:51 +08:00

22 lines
439 B
YAML

version: "3.7"
services:
db:
image: postgres:13-alpine
restart: unless-stopped
volumes:
- data:/var/lib/postgresql/data
env_file: ./.env #Here we are using the already existing .env file
ports:
- "5432:5432"
admin:
image: adminer
restart: unless-stopped
depends_on:
- db
ports:
- 8080:8080
volumes:
data: