forked from uvdesk/community-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
redfield
committed
Aug 24, 2023
1 parent
2b3c621
commit 7696bd8
Showing
3 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
# Ignore files that aren't required to be in the build context when building images | ||
/var/log/* | ||
/var/cache/* | ||
/Dockerfile | ||
var/log/* | ||
var/cache/* | ||
Dockerfile | ||
*.Dockerfile | ||
docker-compose.yml | ||
*.docker-compose.yml | ||
mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,35 @@ | ||
version: "3" | ||
|
||
# this docker compose only be use to build an production image | ||
# do not up this docker compose, only build | ||
|
||
services: | ||
nginx: | ||
image: asia-southeast1-docker.pkg.dev/uvdesk-demo-393909/docker/nginx/tekno:profile | ||
container_name: tekno-uvdesk-nginx | ||
depends_on: | ||
- uvdesk | ||
- db | ||
restart: unless-stopped | ||
ports: | ||
- 80:80 | ||
# - 443:443 #https | ||
environment: | ||
- DISABLE_IPV6=true | ||
|
||
db: | ||
image: mysql:latest | ||
volumes: | ||
- ./mysql:/var/lib/mysql | ||
restart: always | ||
environment: | ||
MYSQL_DATABASE: uvdesk | ||
MYSQL_ROOT_PASSWORD: teknoniaga2023 | ||
MYSQL_USER: uvdesk | ||
MYSQL_PASSWORD: teknoniaga2023 | ||
|
||
uvdesk: | ||
image: asia-southeast1-docker.pkg.dev/uvdesk-demo-393909/docker/uvdesk/tekno:profile | ||
depends_on: | ||
- db | ||
tty: true | ||
environment: | ||
DATABASE_URL: mysql://uvdesk:teknoniaga2023@db:3306/uvdesk | ||
APP_ENV: prod | ||
APP_ENV: dev | ||
# MAILER_URL: smtp://56c1c41b5ea1ee:[email protected]:2525 | ||
# volumes: | ||
# - ./:/var/www |