Compare commits
	
		
			2 Commits
		
	
	
		
			161b4a92bc
			...
			b6a556a2e5
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| b6a556a2e5 | |||
| cf9cf07390 | 
@@ -1,9 +1,9 @@
 | 
			
		||||
services:
 | 
			
		||||
    mysql-build:
 | 
			
		||||
        image: "mysql/mysql-server:${MYSQL_VERSION}"
 | 
			
		||||
        image: "mysql:${MYSQL_VERSION}"
 | 
			
		||||
        profiles: ["build"]
 | 
			
		||||
        build:
 | 
			
		||||
            context: "build-context/mysql"
 | 
			
		||||
            context: "build-context"
 | 
			
		||||
            dockerfile: Dockerfile
 | 
			
		||||
            args:
 | 
			
		||||
                MYSQL_VERSION: "${MYSQL_VERSION}"
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
services:
 | 
			
		||||
    mysql:
 | 
			
		||||
        image: "mysql/mysql-server:${MYSQL_VERSION}"
 | 
			
		||||
        image: "mysql:${MYSQL_VERSION}"
 | 
			
		||||
        container_name: "mysql-${CONTEXT}"
 | 
			
		||||
        networks:
 | 
			
		||||
            mysql-default:
 | 
			
		||||
@@ -24,4 +24,4 @@ networks:
 | 
			
		||||
        ipam:
 | 
			
		||||
            driver: default
 | 
			
		||||
            config:
 | 
			
		||||
                - subnet: 172.16.7.0/24
 | 
			
		||||
                - subnet: ${SUBNET}
 | 
			
		||||
 
 | 
			
		||||
@@ -27,3 +27,7 @@ CONTEXT=loft_ent
 | 
			
		||||
# a Dockerfile
 | 
			
		||||
# ---
 | 
			
		||||
# EXAMPLE_ARG_FROM_ENV_FILE=must_be_available_in_dockerfile
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
SUBNET=10.10.10.10/24
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user