Uploading docker files
This commit is contained in:
31
Docker compose files/easyappointments/docker-compose.yml
Normal file
31
Docker compose files/easyappointments/docker-compose.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
web:
|
||||
image: alexdoe/easyappointments:latest
|
||||
container_name: easyappointments_web
|
||||
ports:
|
||||
- "8080:80"
|
||||
environment:
|
||||
- DB_HOST=db
|
||||
- DB_PORT=5432
|
||||
- DB_NAME=easyappointments
|
||||
- DB_USER=easyappointments_user
|
||||
- DB_PASSWORD=easyappointments_pass
|
||||
depends_on:
|
||||
- db
|
||||
restart: unless-stopped
|
||||
|
||||
db:
|
||||
image: postgres:13
|
||||
container_name: easyappointments_db
|
||||
environment:
|
||||
POSTGRES_DB: easyappointments
|
||||
POSTGRES_USER: easyappointments_user
|
||||
POSTGRES_PASSWORD: easyappointments_pass
|
||||
volumes:
|
||||
- easyappointments_db_data:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
easyappointments_db_data:
|
||||
Reference in New Issue
Block a user