|
|
@ -8,6 +8,8 @@ services: |
|
|
|
build: . |
|
|
|
build: . |
|
|
|
container_name: ${NC_CONTAINER_NAME:-nextcloud} |
|
|
|
container_name: ${NC_CONTAINER_NAME:-nextcloud} |
|
|
|
restart: ${NC_RESTART:-unless-stopped} |
|
|
|
restart: ${NC_RESTART:-unless-stopped} |
|
|
|
|
|
|
|
expose: |
|
|
|
|
|
|
|
- 9000 |
|
|
|
depends_on: |
|
|
|
depends_on: |
|
|
|
- db |
|
|
|
- db |
|
|
|
volumes: |
|
|
|
volumes: |
|
|
@ -27,6 +29,8 @@ services: |
|
|
|
image: ${DB_IMG:-mariadb}:${DB_TAG:-latest} |
|
|
|
image: ${DB_IMG:-mariadb}:${DB_TAG:-latest} |
|
|
|
container_name: ${DB_CONTAINER_NAME:-nextcloud-db} |
|
|
|
container_name: ${DB_CONTAINER_NAME:-nextcloud-db} |
|
|
|
restart: ${DB_RESTART:-unless-stopped} |
|
|
|
restart: ${DB_RESTART:-unless-stopped} |
|
|
|
|
|
|
|
expose: |
|
|
|
|
|
|
|
- 3306 |
|
|
|
volumes: |
|
|
|
volumes: |
|
|
|
- ${LOCAL_STACK_DIR}/db/data:/var/lib/mysql |
|
|
|
- ${LOCAL_STACK_DIR}/db/data:/var/lib/mysql |
|
|
|
networks: |
|
|
|
networks: |
|
|
|