You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
512 B
26 lines
512 B
5 years ago
|
version: '3'
|
||
|
|
||
|
services:
|
||
|
db:
|
||
|
container_name: cashonly_db
|
||
|
image: postgres
|
||
|
restart: always
|
||
|
environment:
|
||
|
POSTGRES_PASSWORD: 2z4wMKcVcCio66o6
|
||
|
|
||
|
web:
|
||
|
container_name: cashonly_web
|
||
|
build: .
|
||
|
restart: always
|
||
|
command: bash -c "/django/config/init.sh"
|
||
|
ports:
|
||
|
- 80:8000
|
||
|
depends_on:
|
||
|
- db
|
||
|
environment:
|
||
|
ADMIN_USER: admin
|
||
|
ADMIN_PW: changeme
|
||
|
ADMIN_EMAIL: example@admin.me
|
||
|
POSTGRES_HOST: cashonly_db
|
||
|
POSTGRES_PASSWORD: 2z4wMKcVcCio66o6
|