Initial commit with Dockerfile, apache.conf, and docker-compose.yml
This commit is contained in:
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
ports:
|
||||
- "8000:80"
|
||||
# volumes:
|
||||
# - .:/var/www/html
|
||||
depends_on:
|
||||
- postgres
|
||||
env_file:
|
||||
- .env
|
||||
postgres:
|
||||
image: postgres:16
|
||||
environment:
|
||||
POSTGRES_DB: skunk_lounge_db
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: secretpassword
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
volumes:
|
||||
pgdata:
|
||||
Reference in New Issue
Block a user