/[LeafOK_CVS]/fenglin/docker-compose.yml
ViewVC logotype

Contents of /fenglin/docker-compose.yml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Sun Jan 4 12:44:40 2026 UTC (2 months, 1 week ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Content type: application/yaml
Add docker config files

1 services:
2 apache:
3 image: leafok/lbbs-apache
4 build:
5 context: .
6 dockerfile: Dockerfile/dockerfile.apache
7 ports:
8 - "8080:8081"
9 volumes:
10 - www-data:/var/www/html
11 - apache-logs:/usr/local/apache2/logs
12 depends_on:
13 - php
14 networks:
15 - app-network
16
17 php:
18 image: leafok/lbbs-php
19 build:
20 context: .
21 dockerfile: Dockerfile/dockerfile.php
22 volumes:
23 - www-data:/var/www/html
24 - php-sessions:/var/lib/php/sessions
25 - apache-logs:/usr/local/apache2/logs
26 networks:
27 - app-network
28 expose:
29 - "9000"
30 command: [ "php-fpm" ]
31
32 networks:
33 app-network:
34 driver: bridge
35
36 volumes:
37 www-data:
38 # Volume for persistent storage of web data
39 driver: local
40 php-sessions:
41 # Volume for persistent storage of PHP session data
42 driver: local
43 apache-logs:
44 # Volume for persistent storage of Apache logs
45 driver: local

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1