49 lines
989 B
YAML
49 lines
989 B
YAML
---
|
|
name: evershop
|
|
|
|
volumes:
|
|
postgres-data:
|
|
|
|
services:
|
|
app:
|
|
container_name: evershop
|
|
hostname: ${EV_HOSTNAME:-evershop}
|
|
image: evershop/evershop:latest
|
|
restart: always
|
|
environment:
|
|
DB_HOST: database
|
|
DB_PORT: 5432
|
|
DB_PASSWORD: ${DB_PASSWD:-postgres}
|
|
DB_USER: ${DB_USER:-postgres}
|
|
DB_NAME: ${DB_NAME:-postgres}
|
|
networks:
|
|
- myevershop
|
|
depends_on:
|
|
- database
|
|
volumes:
|
|
- ./config:/app/config
|
|
- ./public:/app/public
|
|
- ./extensions:/app/extensions
|
|
ports:
|
|
- 64530:3000
|
|
|
|
database:
|
|
container_name: ev_database
|
|
image: postgres
|
|
restart: unless-stopped
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_PASSWORD: ${DB_PASSWD:-postgres}
|
|
POSTGRES_USER: ${DB_USER:-postgres}
|
|
POSTGRES_DB: ${DB_NAME:-postgres}
|
|
ports:
|
|
- 5432
|
|
networks:
|
|
- myevershop
|
|
|
|
networks:
|
|
myevershop:
|
|
name: MyEverShop
|
|
driver: bridge
|