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.
28 lines
715 B
28 lines
715 B
4 years ago
|
version: '3'
|
||
|
services:
|
||
|
app:
|
||
|
build: .
|
||
|
restart: always
|
||
|
ports:
|
||
|
- "5000:80"
|
||
|
volumes:
|
||
|
- <vnesi pot na gostitelju>:/var/www/html/audio
|
||
|
- <vnesi pot na gostitelju>:/var/www/html/comments
|
||
|
- <vnesi pot na gostitelju>:/var/www/html/images
|
||
|
- <vnesi pot na gostitelju>:/var/www/html/images/words
|
||
|
environment:
|
||
|
DB_HOST: db
|
||
|
DB_USER: testuser
|
||
|
DB_PASS: testpass
|
||
|
DB_NAME: digital_atlas
|
||
|
db:
|
||
|
image: "mariadb:10.5-focal"
|
||
|
restart: always
|
||
|
environment:
|
||
|
MYSQL_ROOT_PASSWORD: roottestpass
|
||
|
MYSQL_DATABASE: digital_atlas
|
||
|
MYSQL_USER: testuser
|
||
|
MYSQL_PASSWORD: testpass
|
||
|
volumes:
|
||
|
- <vnesi pot na gostitelju>:/var/lib/mysql
|