PET实用
docker-compose.yaml
version: '2'
services:
petutility:
container_name: petutility
build: ./petutility
volumes:
- ./petutility:/www
depends_on:
- postgres
ports:
- "80:3000"
env_file:
- locals.env
postgres:
container_name: postgres
image: "postgres:9.6"
environment:
- POSTGRES_USER=pet
- POSTGRES_PASSWORD=petutility!
1