Browse Source

moved image name to docker-compose.yml, only version in .env

master
Bryan Joshua Pedini 6 months ago
parent
commit
50bb80bbb6
  1. 4
      docker-compose.yml
  2. 4
      env.example

4
docker-compose.yml

@ -2,7 +2,7 @@ version: "3"
services:
app:
image: ${GITEA_VERSION}
image: gitea/gitea:${GITEA_VERSION}
restart: unless-stopped
depends_on:
- db
@ -37,7 +37,7 @@ services:
ports:
- ${SSH_PORT}:22
db:
image: ${MYSQL_VERSION}
image: mariadb:${MYSQL_VERSION}
restart: unless-stopped
environment:
- MYSQL_DATABASE=${MYSQL_DATABASE}

4
env.example

@ -1,8 +1,8 @@
GITEA_VERSION=gitea/gitea:latest
GITEA_VERSION=latest
MYSQL_DATABASE=gitea
MYSQL_PASSWORD=
MYSQL_USER=gitea
MYSQL_VERSION=mariadb:10.6.3
MYSQL_VERSION=10.6.3
SERVICE_NAME=git.mydomain.com
TRAEFIK_HOST=git.mydomain.com
TRAEFIK_ROUTER=git_mydomain_com

Loading…
Cancel
Save