Compare commits
	
		
			3 Commits
		
	
	
		
			25e5b5a5b6
			...
			c63db45025
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| c63db45025 | |||
| c23f5ff13e | |||
| a20351bb9e | 
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -1,3 +1,4 @@
 | 
			
		||||
gitea/*
 | 
			
		||||
gitea/
 | 
			
		||||
.env
 | 
			
		||||
pmb-pf/
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										31
									
								
								compose.yaml
									
									
									
									
									
								
							
							
						
						
									
										31
									
								
								compose.yaml
									
									
									
									
									
								
							@@ -4,7 +4,7 @@ services:
 | 
			
		||||
    #command: '--default-authentication-plugin=mysql_native_password'
 | 
			
		||||
    restart: always
 | 
			
		||||
    healthcheck:
 | 
			
		||||
      test: ['CMD-SHELL', 'mysqladmin ping -h 127.0.0.1 --password="rootpass" --silent']
 | 
			
		||||
      test: ['CMD-SHELL', 'mysqladmin ping -h 127.0.0.1 --password="${DOTENV_MYSQL_ROOT_PASSWORD}" --silent']
 | 
			
		||||
      interval: 3s
 | 
			
		||||
      retries: 5
 | 
			
		||||
      start_period: 30s
 | 
			
		||||
@@ -57,6 +57,13 @@ services:
 | 
			
		||||
      - GITEA__database__USER=gitea
 | 
			
		||||
      - GITEA__database__PASSWD=${DOTENV_MYSQL_GITEA_PASSWORD}
 | 
			
		||||
      - GITEA__repository__DEFAULT_BRANCH=master
 | 
			
		||||
      - GITEA__mailer__ENABLED=true
 | 
			
		||||
      - GITEA__mailer__FROM=${GITEA_MAIL_FROM}
 | 
			
		||||
      - GITEA__mailer__USER=
 | 
			
		||||
      - GITEA__mailer__PROTOCOL=smtp
 | 
			
		||||
      - GITEA__mailer__SMTP_ADDR=pmb
 | 
			
		||||
      - GITEA__mailer__SMTP_PORT=25
 | 
			
		||||
 | 
			
		||||
      # To disable new users after setup:
 | 
			
		||||
      #- GITEA__service__DISABLE_REGISTRATION=false
 | 
			
		||||
    networks:
 | 
			
		||||
@@ -88,8 +95,30 @@ services:
 | 
			
		||||
    networks:
 | 
			
		||||
      - frontnet
 | 
			
		||||
 | 
			
		||||
  pmb:
 | 
			
		||||
    build:
 | 
			
		||||
      args:
 | 
			
		||||
        GPG_PP: $BUILD_GPG_PP
 | 
			
		||||
      context: pmb-pf
 | 
			
		||||
      #context: .
 | 
			
		||||
      dockerfile: Dockerfile
 | 
			
		||||
    #image: juanluisbaptiste/postfix:latest
 | 
			
		||||
    expose:
 | 
			
		||||
      - "25"
 | 
			
		||||
    env_file:
 | 
			
		||||
      - pmb-pf/.env
 | 
			
		||||
      #- .env
 | 
			
		||||
    restart: always
 | 
			
		||||
    volumes:
 | 
			
		||||
      - pmb-root:/root
 | 
			
		||||
      - "/etc/localtime:/etc/localtime:ro"
 | 
			
		||||
    networks:
 | 
			
		||||
      - backnet
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
volumes:
 | 
			
		||||
  db-data:
 | 
			
		||||
  pmb-root:
 | 
			
		||||
 | 
			
		||||
networks:
 | 
			
		||||
  backnet:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user