Update Docker Hub image

and container names
This commit is contained in:
Birkhoff Lee 2020-07-28 01:55:03 +08:00 committed by GitHub
parent 466f8e2b23
commit 21d0874316
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,21 +2,21 @@ version: '2'
services: services:
namelessmc: nginx:
image: derkades/namelessmc-nginx image: namelessmc/nameless-nginx
ports: ['80:80'] ports: ['80:80']
volumes: ['/srv/namelessmc/web:/data'] # same as php container volumes: ['/srv/namelessmc/web:/data'] # same as php container
# environment: # environment:
# PHP_FPM: namelessmc_php:9000 # PHP_FPM: php:9000
depends_on: [namelessmc_php] depends_on: [php]
restart: unless-stopped restart: unless-stopped
namelessmc_php: php:
image: derkades/namelessmc-php image: namelessmc/nameless-php
volumes: ['/srv/namelessmc/web:/data'] # same as web container volumes: ['/srv/namelessmc/web:/data'] # same as web container
restart: unless-stopped restart: unless-stopped
namelessmc_db: db:
image: mariadb image: mariadb
volumes: ['/srv/namelessmc/db:/var/lib/mysql'] volumes: ['/srv/namelessmc/db:/var/lib/mysql']
environment: environment: